package com.gk.javaservice.po;

import com.alibaba.fastjson.JSONArray;
import lombok.Data;

@Data
public class AdminUsers {
    private int id;
    private String username;
    private String password;
    private String name;
    private String avatar;
    private int order;
    private String remember_token;
    private String created_at;
    private String updated_at;
    private AdminRoles adminRoles;
    private JSONArray menu;
    private String job;
    private String department;


    private int is_login;//是否自动登录

    public JSONArray getMenu() {
        return menu;
    }

    public void setMenu(JSONArray menu) {
        this.menu = menu;
    }

    public int getIs_login() {
        return is_login;
    }

    public void setIs_login(int is_login) {
        this.is_login = is_login;
    }

    public AdminRoles getAdminRoles() {
        return adminRoles;
    }

    public void setAdminRoles(AdminRoles adminRoles) {
        this.adminRoles = adminRoles;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public String getRemember_token() {
        return remember_token;
    }

    public void setRemember_token(String remember_token) {
        this.remember_token = remember_token;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getUpdated_at() {
        return updated_at;
    }

    public void setUpdated_at(String updated_at) {
        this.updated_at = updated_at;
    }
}
